Skip to content

feat: accessibility identifiers for onboarding E2E cases - #3

Merged
thatswiftdev merged 1 commit into
mainfrom
feat/identifiers-onboarding-e2e
Oct 16, 2026
Merged

thatswiftdev merged 1 commit into
mainfrom
feat/identifiers-onboarding-e2e

Conversation

@thatswiftdev

Copy link
Copy Markdown
Contributor

What

16 accessibility identifiers across the onboarding flow + Today tab.
Modifier-chain additions only — no logic, layout, or copy changes.

identifier file
welcome_get_started_button WelcomeView.swift:56
profile_setup_next_button, profile_setup_value_label, profile_setup_sex_option_{male,female} ProfileSetupView.swift
goal_setup_next_button, goal_setup_activity_{sedentary..veryActive}, goal_setup_goal_{lose,maintain,gain} GoalSetupView.swift
calorie_result_create_meal_plan_button, calorie_result_edit_profile_button CalorieResultView.swift
main_tab_today MainTabView.swift:32

Why

Lionidas E2E cases for the onboarding funnel (splash → welcome → profile → goal → calorie result → home) need stable, locale-free selectors; the app had zero .accessibilityIdentifier calls. Authored via /implement-identifiers (session sess_451c34f0-ceb), applied in-place per user instruction, isolated to this branch by the host.

Notes

  • Dynamic suffixed ids (_\(option.rawValue)) resolve at runtime: profile_setup_sex_option_female, goal_setup_activity_active, etc.
  • main_tab_today sits on the tabItem Text — XCUI tabItem exposure varies by iOS; label fallback remains the robust selector.

16 identifiers across the onboarding flow + Today tab (Lionidas
/implement-identifiers session sess_451c34f0-ceb, user-confirmed proposal).
Modifier-chain additions only — no logic, layout, or copy changes.
@thatswiftdev
thatswiftdev merged commit 03b056e into main Oct 16, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant